package slices

func Remove[T comparable](s []T, e T) []T {
	var ss []T
	for _, v := range s {
		if v != e {
			ss = append(ss, v)
		}
	}
	return ss
}
